@import '~styles/colors.less';

.info {
  max-width: 130px;
  height: 38px;
  border: 1px solid @chromeBordersColor;
  border-radius: 3px;
  overflow: hidden;
  background-color: @chromeBackgroundDarkerColor;
  cursor: pointer;
  text-align: left;

  &:hover {
    border-color: @primary;
  }
}

.preview {
  position: relative;
  display: inline-block;
  vertical-align: top;
  width: 36px;
  height: 36px;

  &:before {
    content: '';
    position: absolute;
    top: 0; right: 0; bottom: 0; left: 0;
    background: url('%2F%2F%2F%2Fh3POnj1LCzsAAgwAQtYIcFfEyzkAAAAASUVORK5CYII%3D');
  }
}

.color {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
}

.label {
  display: inline-block;
  vertical-align: top;
  line-height: 36px;
  padding: 0 14px;
  font-size: 10px;
  color: @chromeTextColor;
}

.white {
  .info {
    background-color: transparent;
    border-color: @adminInputBorders;

    &:hover {
      border-color: @primary;
    }
  }

  .label {
    color: @adminText;
  }
}
